<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    
</body>
<script src="./js/Itcast.core.js"></script>
<script src="./js/Itcast.dom.js"></script>
<script src="./js/Itcast.ctor.js"></script>
<script>
    // 创建一个 div 加到页面中
    I( 'body' ).get( 0 ).appendChild(
        I( '<div id="dv" style="border: 1px solid red; width: 200px; height: 70px;">123</div>' ).get( 0 )
    );


    // 修改 刚刚加入的 div
    I( '#dv' ).each(function (){
        this.style.border = '1px dashed blue';
    })

</script>
</html>